﻿using Abp.Domain.Entities;
using SportsPlatform.BaseModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Model.SportBusiness
{
    /// <summary>
    /// 团队表实体
    /// </summary>
    [Table("T_B_Team")]
    public class Team : BaseModel
    {
        /// <summary>
        /// 团队名称
        /// </summary>
        [Required]
        [MaxLength(100)]
        public string TeamName { get; set; }

        /// <summary>
        /// 团队人数
        /// </summary>
        public int TeamNum { get; set; }

    }
}
